﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Cap.Services.Manager.Models
{

    /// <summary>
    /// 客户表 
    /// </summary>
    public class User
    {
        /// <summary>
        /// 客户表 
        /// </summary>
        public User()
        {
        }

        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int32 ID { get; set; }

        /// <summary>
        /// 合作类型 枚举(1,公司，2个人)
        /// </summary>
        public System.Int32? CooperateType { get; set; }

        /// <summary>
        /// 用户昵称
        /// </summary>
        public System.String UserName { get; set; }

        /// <summary>
        /// 密码 MD5加密
        /// </summary>
        public System.String Pwd { get; set; }

        /// <summary>
        /// 电话号码
        /// </summary>
        public System.String Phone { get; set; }

        /// <summary>
        /// 公司
        /// </summary>
        public System.Int32? FK_Company { get; set; }

        /// <summary>
        /// 客户状态 枚举（1 正常 2 停用 3 冻结）
        /// </summary>
        public System.Int32? Status { get; set; }

        /// <summary>
        /// 是否可用
        /// </summary>
        public System.String IsVaild { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public System.Int32? CreateUser { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public System.DateTime? CreateTime { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public System.Int32? ModifyUser { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public System.DateTime? ModifyTime { get; set; }
    }
}
